package top.superflow.verify

import org.apache.commons.lang3.StringUtils

import scala.reflect.io.File

trait Check {
  
  def isFileExist(path : String) : Boolean = {
    if(StringUtils.isEmpty(path)){
      return false
    }
    
    val file = File(path)
    file.exists
  }
}